/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package azhar.com;

/**
 *
 * @author Al-Insan
 */
public class HTMLText {

    public String getText(Object sender, Object msg, Object time, Object smsc){
        return "<html><head></head><body>"
                + "Sender : "+String.valueOf(sender)+"<br>"
                + "Sent Time : "+String.valueOf(time)+"<br>"
                + "SMS Center : "+String.valueOf(smsc)+"<br>"
                + "<br>"
                + String.valueOf(msg)
                + "</body></html>";
    }

    public String getText(String recipient, String text) {
        return "<html><head></head><body>"
                + "Sender : "+recipient+"<br>"
                + "<br>"
                + text
                + "</body></html>";
    }

    public String getText(String recipient, String text, String status) {
        return "<html><head></head><body>"
                + "Sender : "+recipient+"<br>"
                + "Status : "+String.valueOf(status)+"<br>"
                + "<br>"
                + text
                + "</body></html>";
    }

    public String getText(String recipient, String text, String status, String time, int i) {
        return "<html><head></head><body>"
                + "Sender : "+recipient+"<br>"
                + "Status : "+status+"<br>"
                + "Sent Time : "+time+"<br>"
                + "<br>"
                + text
                + "</body></html>";
    }
    
}
